package com.stars.module.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.stars.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author : Rocks
 * @version : 1.0
 * @date : 2022/10/18 10:06
 * @description : 用户表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("star_user")
public class StarUser extends BaseEntity {

    private String id;
    @TableField("NAME")
    private String name;
    @TableField("LOGNAME")
    private String logName;
    @TableField("PASSWORD")
    private String password;
    @TableField("LASTLOGINTIME")
    private Date lastLoginTime;
    @TableField("USERTYPE")
    private String userType;
    @TableField("DEPTID")
    private String deptId;
}
